package com.cbw.mvc.test2;

import com.cbw.mvc.ResponseBody;
import com.cbw.mvc.ResponseView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class xxxController {
    @ResponseBody("/test1.do")
    public String test1(HttpServletRequest request, HttpServletResponse response){
        return "test1";
    }
    @ResponseBody("/test2.do")
    public String test2(HttpServletRequest request, HttpServletResponse response){
        return "test2";
    }
    @ResponseView("/test3.do")
    public String test3(HttpServletRequest request, HttpServletResponse response){
        return "xxx.html";
    }
}
